From: Sebastian Keller Date: Tue, 7 Mar 2023 14:11:22 +0000 (+0100) Subject: style: Reduce padding between quick menu toggle text and separator X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~371^2^2~84 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b9c5733a295069fcbfc0ba85092ffcac7c03ed5c;p=gnome-shell.git style: Reduce padding between quick menu toggle text and separator The padding between the text and the arrow button separator effectively was 2 * base_padding, while the spacing between the icon and the text was just 1.5 * base_padding. This was a bit uneven and also could result in the text getting ellipsized when it wasn't necessary. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6432 Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss index 7c9accb16..d6b4e5a3d 100644 --- a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss +++ b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss @@ -48,7 +48,9 @@ max-width: auto; &:ltr { border-radius: 99px 0 0 99px; } + &:ltr > StBoxLayout { padding-right: $base_padding*1.5; } &:rtl { border-radius: 0 99px 99px 0; } + &:rtr > StBoxLayout { padding-left: $base_padding*1.5; } &:ltr:last-child { border-radius: 99px; } &:rtl:last-child { border-radius: 99px; }